package com.masterclient.app.businessmodule.vipmodule.financial_management.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.income.dealer.model.DealerBankCardMoreBean;
import com.masterclient.app.modules.income.model.ApplyWithdrawBean;

/**
 * 作者：sean
 * 创建时间：2017/10/23 17:34
 * 功能说明：
 */
public interface DealerBankCardInsertContract {

    interface View extends BaseView {
        void getBankCardMoreInfoSuccess(DealerBankCardMoreBean data);
        void getBankCardMoreInfoFail(String msg);

        void getCaptchaSuccess();
        void getCaptchaFailed(String msg);

        void bindSuccess(ApplyWithdrawBean data);
        void bindFailed(String msg);
    }

    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void getBankCardMoreInfo();
        public abstract void bindBankCard(String bank_id,String bank_account_no,String bank_mobile,String bind_type,String verify_code);
        public abstract void getCaptcha(String mobile,String type, String ne);
    }
}